package com.dolphin.config.shiro.customToken;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * JwtToken
 *
 * @author dolphin
 */
public class WxToken implements AuthenticationToken {
    /**
     * serialVersionUID
     * long
     */
    private static final long serialVersionUID = 1934231970588104708L;
    private String account;

    public WxToken(String account) {
        this.account = account;
    }

    @Override
    public Object getPrincipal() {
        return account;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    @Override
    public Object getCredentials() {
        return account;
    }
}
